Skip to content

EventPatternSourceBase class

Defined in

Namespace: System.Reactive Assembly: System.Reactive.dll Full name: System.Reactive.EventPatternSourceBase<T1, T2> Modifiers: public abstract

Summary

        Base class for classes that expose an observable sequence as a well-known event pattern (sender, event arguments).
        Contains functionality to maintain a map of event handler delegates to observable sequence subscriptions. Subclasses
        should only add an event with custom add and remove methods calling into the base class's operations.
        

Applies to

netstandard2.0

Constructors

NameSummary
.ctorCreates a new event pattern source.

Methods

NameSummary
AddAdds the specified event handler, causing a subscription to the underlying source.
RemoveRemoves the specified event handler, causing a disposal of the corresponding subscription to the underlying source that was created during the...
Inherited members